[Snyk] Upgrade engine.io-parser from 4.0.0 to 5.0.2 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade engine.io-parser from 4.0.0 to 5.0.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: engine.io-parser
Bug Fixes
Links
Bug Fixes
Links
This release includes the migration to TypeScript. The major bump is due to the new "exports" field in the package.json file.
See also: https://nodejs.org/api/packages.html#packages_package_entry_points
Links
Bug Fixes
Links
Bug Fixes
Links
Links
This major release contains the necessary changes for the version 4 of the Engine.IO protocol. More information about the new version can be found there.
Encoding changes between v3 and v4:
encodePacket with string
{ type: "message", data: "hello" }
"4hello"
"4hello"
encodePacket with binary
{ type: 'message', data: <Buffer 01 02 03> }
<Buffer 04 01 02 03>
<Buffer 01 02 03>
encodePayload with strings
[ { type: 'message', data: 'hello' }, { type: 'message', data: '€€€' } ]
"6:4hello4:4€€€"
"4hello\x1e4€€€"
encodePayload with string and binary
[ { type: 'message', data: 'hello' }, { type: 'message', data: <Buffer 01 02 03> } ]
<Buffer 00 06 ff 34 68 65 6c 6c 6f 01 04 ff 04 01 02 03>
"4hello\x1ebAQID"
Please note that the parser is now dependency-free! This should help reduce the size of the browser bundle.
Bug Fixes
Features
Links
Commit messages
Package name: engine.io-parser
resource
socketio/engine.io#117)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs